package org.pmt.first.kms

import androidx.compose.material3.adaptive.WindowAdaptiveInfo
import androidx.compose.runtime.Composable
import platform.UIKit.UIDevice

class IOSPlatform: Platform {
    override val name: String = UIDevice.currentDevice.systemName() + " " + UIDevice.currentDevice.systemVersion
}

actual fun getPlatform(): Platform = IOSPlatform()

@Composable
actual inline fun getWindowAdaptiveInfo(): WindowAdaptiveInfo =
    androidx.compose.material3.adaptive.currentWindowAdaptiveInfo()